﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using TyMES.Model.BaseInformation;
using TyMES.Model;

namespace TyMES.ViewModel.BaseInformation.LMESProductDataTemplateVMs
{
    public partial class LMESProductDataTemplateBatchVM : BaseBatchVM<LMESProductDataTemplate, LMESProductDataTemplate_BatchEdit>
    {
        public LMESProductDataTemplateBatchVM()
        {
            ListVM = new LMESProductDataTemplateListVM();
            LinkedVM = new LMESProductDataTemplate_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class LMESProductDataTemplate_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._LMESProductDataTemplate._dataStatus")]
        public string DataStatus { get; set; }
        [Display(Name = "_Model._LMESProductDataTemplate._enableStatus")]
        public string EnableStatus { get; set; }
        [Display(Name = "_Model._LMESProductDataTemplate._equCode")]
        public string EquCode { get; set; }
        [Display(Name = "_Model._LMESProductDataTemplate._equName")]
        public string EquName { get; set; }
        [Display(Name = "_Model._LMESProductDataTemplate._factoryCode")]
        public string FactoryCode { get; set; }
        [Display(Name = "_Model._LMESProductDataTemplate._operationCode")]
        public string OperationCode { get; set; }
        [Display(Name = "_Model._LMESProductDataTemplate._operationName")]
        public string OperationName { get; set; }
        [Display(Name = "_Model._LMESProductDataTemplate._paramCode")]
        public string ParamCode { get; set; }
        [Display(Name = "_Model._LMESProductDataTemplate._paramCodeKey")]
        public string ParamCodeKey { get; set; }
        [Display(Name = "_Model._LMESProductDataTemplate._paramName")]
        public string ParamName { get; set; }
        [Display(Name = "_Model._LMESProductDataTemplate._paramNameKey")]
        public string ParamNameKey { get; set; }
        [Display(Name = "_Model._LMESProductDataTemplate._paramRange1")]
        public string ParamRange1 { get; set; }
        [Display(Name = "_Model._LMESProductDataTemplate._paramRange2")]
        public string ParamRange2 { get; set; }
        [Display(Name = "_Model._LMESProductDataTemplate._paramUnit")]
        public string ParamUnit { get; set; }
        [Display(Name = "_Model._LMESProductDataTemplate._paramValueKey")]
        public string ParamValueKey { get; set; }
        [Display(Name = "_Model._LMESProductDataTemplate._sort")]
        public int? Sort { get; set; }
        [Display(Name = "_Model._LMESProductDataTemplate._actualsort")]
        public int? Actualsort { get; set; }
        [Display(Name = "_Model._LMESProductDataTemplate._standardValue")]
        public string StandardValue { get; set; }
        [Display(Name = "_Model._LMESProductDataTemplate._stationCode")]
        public string StationCode { get; set; }
        [Display(Name = "_Model._LMESProductDataTemplate._uniqueCode")]
        public string UniqueCode { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}